package com.chpro.spittr.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息实体类
 * @author Administrator
 *
 */
public class Spittle implements Serializable {

	private static final long serialVersionUID = 1L;
	
	/**
	 * id
	 */
	private final Long id;
	/**
	 * 消息内容
	 */
	private final String message;
	/**
	 * 发送时间
	 */
	private final Date postedTime;
	
	
	public Spittle(Long id, String message, Date postedTime) {
	    this.id = id;
	    this.message = message;
	    this.postedTime = postedTime;
	}


	public Long getId() {
		return id;
	}


	public String getMessage() {
		return message;
	}


	public Date getPostedTime() {
		return postedTime;
	}
	
}
